<template>
  <div>
    {{ $t('message') }}
    <el-button @click="$i18n.locale='zh'">切换成中文</el-button>
    <el-button @click="$i18n.locale='en'">切换成英文</el-button>
    <el-button @click="btnClick">确定框</el-button>
    <el-calendar />
  </div>
</template>
<script>
export default {
  methods: {
    btnClick() {
      this.$confirm(this.$t('content'), this.$t('title'))
    }
  }
}
</script>
<style>
</style>
